import request from '@/utils/request'

export function PermissionList() {
    return request({
        url: '/api/data-provider/permission-list',
        method: 'get',
    })
}

export function RolesList() {
    return request({
        url: '/api/data-provider/roles-list',
        method: 'get',
    })
}

export function TagList() {
    return request({
        url: '/api/data-provider/tag-list',
        method: 'get',
    })
}

export function NodeTagList() {
    return request({
        url: '/api/data-provider/node-tags',
        method: 'get',
    })
}

export function TravelTagList () {
    return request({
        url: '/api/data-provider/travel-tag-list',
        method: 'get',
    })
}

export function SchoolRoleList (id) {
    return request({
        url: '/api/data-provider/school-roles-list/'+id,
        method: 'get',
    })
}
export function SchoolList () {
    return request({
        url: '/api/data-provider/school-list',
        method: 'get',
    })
}

export function StudentList (id) {
    return request({
        url: '/api/data-provider/student-list/'+id,
        method: 'get',
    })
}

export function ProductList () {
    return request({
        url: '/api/data-provider/product-list',
        method: 'get',
    })
}


export function ProductCategoryList () {
    return request({
        url: '/api/data-provider/product-category-list',
        method: 'get',
    })
}
